﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="User_Default3" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <link rel="stylesheet" type="text/css" href="css/css.css"/>
    <link href="css/jquery.countdown.css" rel="stylesheet" type="text/css" />
	
  
	
	<link rel="stylesheet" href="css/global.css" />
	
	<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
	<script  type="text/javascript" src="js/slides.min.jquery.js"></script>
	<script type="text/javascript">
	
		$(function(){
			$('#slides').slides({
				preload: true,
				preloadImage: 'image/loading.gif',
				play: 5000,
				pause: 2500,
				hoverPause: true,
				animationStart: function(current){
					$('.caption').animate({
						bottom:-35
					},100);
					if (window.console && console.log) {
						// example return of current slide number
						console.log('animationStart on slide: ', current);
					};
				},
				animationComplete: function(current){
					$('.caption').animate({
						bottom:0
					},200);
					if (window.console && console.log) {
						// example return of current slide number
						console.log('animationComplete on slide: ', current);
					};
				},
				slidesLoaded: function() {
					$('.caption').animate({
						bottom:0
					},200);
				}
			});
		});
	</script>
<script type="text/javascript" src="js/jquery.countdown.js"></script>
<script type="text/javascript">
$(function () {

var austDay = new Date();
	austDay = new Date(austDay.getFullYear() + 1, 1 - 1, 26);
	$('#defaultCountdown').countdown({until: austDay, compact: true, 
    description: ''});
    $('#year').text(austDay.getFullYear());
	
});
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="dMainDeal" class="box-white box-big">
     
                	<div class="box-white-image-big">    
                	    <div class="one-img-slideshow">
                	        <img src="image/new-ribbon.png" width="112" height="112" alt="New Ribbon" id="ribbon"/>
                	        <div id="slides">
                	            <div class="slides_container">
                	               
                	                   <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
                                          <ItemTemplate>
                                           <div class="slide">
                	                        <a href="#" title="Hậu" target="_blank">
                	                            <asp:Image ID="img_HinhAnh" runat="server" width="426" height="267" />
                	            
                	                        </a>
                	                         </div>
                	                      </ItemTemplate>
                                         </asp:Repeater>
                	               
                	            </div>	
                	        </div>
                	        	<span class="giaovoucher"></span>
                	    </div>
                	</div>
                	<div class="box-white-content">
                	     <div class="box-white-subcr">
                	          <h2><a href="#">
                                  <asp:Literal ID="lit_tenSP" runat="server"></asp:Literal>
                                  </a>
                              </h2>
                               <p>
                                   <asp:Literal ID="lit_moTa" runat="server"></asp:Literal>
                              </p>
                              <p class="box-white-detail"><a href="#" target="_blank">... xem chi tiết</a></p>
                              <div style="margin-top:14px;">
                                 <span class="box-white-quote">
                                    <img src="image/quote.gif" width="31" height="29" title="" alt=""/>
                                 </span>
   	                             <a class="box-white-slogan" href="#" title="Nhà Hàng Nhật Yosakoi" name="Nhà Hàng Nhật Yosakoi">
                                        <asp:Literal ID="lit_slogan" runat="server"></asp:Literal>
                                 </a>
                              </div>
                	     </div>
                	     <div class="box-white-btn">
                	        <div class="box-white-info-big">
                	            <div class="view-price">
                	                <div class="remain">
                                	    <span class="style-font">
                                            <asp:Literal ID="lit_giaBan" runat="server"></asp:Literal><em> VNĐ</em></span>
                                    </div>
                                    <a href="#" class="view-button"></a>
                	            </div>
                	             <div class="clear">
                                 </div>
                	        </div>
                	        <div class="box-white-info-price" style="float:none; width:auto; padding-top:10px;">
                        	    <p>Giá gốc: <span><asp:Literal ID="lit_giaGoc" runat="server"></asp:Literal></span> VNĐ</p>
                            </div>
                            <div class="box-white-info-sale">
                                <div class="box-white-info-save">
                            	    <span class="number">
                                        <asp:Literal ID="lit_tietKiem" runat="server"></asp:Literal></span><span>tiết kiệm</span>
                                </div>
                                 <div class="box-white-info-buyer">
                        	        <span class="number">
                                        <asp:Literal ID="lit_nguoiMua" runat="server"></asp:Literal></span><span>người mua</span>
                                 </div>
                                  <div class="box-white-info-time">
                       		         <span class="number" id="defaultCountdown"></span><span style="padding-left:10px">thời gian còn lại</span>
                                 </div>
                            </div>
                	     </div>
                	</div>
                 <div class="clear"></div>
            
    
    </div>
    
      <div id="dListDeal" class="list-deals">
          <asp:Repeater ID="Repeater2" runat="server" OnItemDataBound="Repeater2_ItemDataBound">
            <ItemTemplate>
                 <div class="box-white">   
                    <div class="box-white-image">    
                          <a href="#">
                              <asp:Image ID="img_HinhAnh" runat="server" width="298" height="184" />
                               <span class="giaovoucher"></span>    
                          </a>
                      <i></i>
                     </div> 
                 <div class="box-white-text">   
                     <h3>
                        <a href="#" title=<%#Eval("TenSP")%>><%#Eval("TenSP") %>
                           </a>
                     </h3> 
                       <p>
                           <asp:Literal ID="lit_moTa" runat="server"></asp:Literal>
                       </p>  
                        <p class="box-white-detail">
         <a href="#" name=<%#Eval("TenSP") %>>... xem chi tiết</a>
         </p>  
          <div>     
          <span class="box-white-quote">
            <img src="image/quote.gif" width="31" height="29" title="" alt="" />
          </span>
           <a class="box-white-slogan" href="#" title="Nệm Bông Ép Everon" name="Nệm Bông Ép Everon">
               <asp:Literal ID="lit_sloGan" runat="server"></asp:Literal> ...</a>  
         </div>
         </div>
         <div class="box-white-info">
         <p>
            <%#Eval("GiaBan") %><strong> VNĐ</strong></p>
         <p><a href="#" title="<%#Eval("TenSP") %>" class="view-button"></a>
         </p> 
         <div class="box-white-info-sale">
         <div class="box-white-info-save">
         <span class="number">
             <asp:Literal ID="lit_giamGia" runat="server"></asp:Literal>%</span>
         <span>tiết kiệm</span>
         </div>
         <div class="box-white-info-buyer">
         <span class="number">
             <%#Eval("SoLuongBan") %>
             </span><span>người mua</span></div>
         <div class="box-white-info-time">
         
         
         <span class="number" id="defaultCountdown">2 ngày</span><span>thời gian còn lại</span>
         </div>
         <div class="clear">
         </div> 
         </div>  
          <div class="box-white-info-price">  		<p>Giá gốc: <span>
              <%#Eval("GiaGoc") %></span> VNĐ</p>  
           </div>    
           <div class="box-white-info-links">
           </div>
          </div>
           <div class="clear">
           </div> 
      </div>

                      
            </ItemTemplate>
          </asp:Repeater>
      </div>
    
    
    </form>
</body>
</html>
